package com.itcoon.transform4j.demo.web.vo;

import com.itcoon.transform4j.demo.domain.Gender;
import com.itcoon.transform4j.demo.web.command.AuthorCommand;
import com.itcoon.transform.base.annotation.AssembleModel;
import com.itcoon.transform.base.annotation.AssembleModelProperty;

/**
 * @author Miaoxia Yu
 * @date 2020-11-06
 */
@AssembleModel(from = AuthorCommand.class)
public interface AuthorVIO {

    @AssembleModelProperty
    String getName();

    @AssembleModelProperty
    Gender getGender();
}
